<div id="result">

    <form method="post" id="suspendfrm" action="<?php echo Configure::read('base_url') . "salestaxes/edittax"; ?>">
        <table cellspacing="0" width="100%">
            <tbody>
                <tr><td colspan="2"><div  class="div_header1"><h3>Edit Sales Tax</h3></div></td></tr>
                <tr>
                    <td>
                        <?php
                        echo $this->Form->input('Salestax.id', array('type' => 'hidden'));
                        echo $this->Form->input('Salestax.product_id', array('type' => 'hidden'));                        
                        echo $this->Form->input('Salestax.seller_id', array('type' => 'hidden'));
                        ?>
                        Apply
                        <?php
                        echo $this->Form->input('Salestax.rate', array('div' => false, 'label' => false, 'size' => 10, 'class' => 'required', 'style' => 'text-align:right;'));
                        ?>&nbsp;&nbsp;%
                    </td>

                    <td>
                        Sales Tax on
                        <?php echo $this->Form->input('Salestax.state_id', array('empty' => '--Select State--', 'div' => false, 'label' => false, 'class' => 'required')); ?>
                    </td>
                </tr>
                <tr><td colspan="2">&nbsp;</td></tr>
                <tr>
                    <td>
                        <?php
                        echo $this->Form->input('Salestax.taxappliedon', array('type' => 'checkbox', 'div' => false, 'label' => false));
                        ?>Also, apply sales tax to shipping &amp; handling
                    </td>
                    <td align="center">
                        <input type="submit" style="background:#73AE0B; color:#fff; font-size:14px;" name="button" id="button" value="Update" />
                    </td>
                </tr>
            </tbody>
        </table>
    </form>
</div>
<?php echo $html->script(array("jquery.pagination.js", "jquery.tablesorter.min.js", "jquery.tablednd.js", "jquery.validate.js")); ?>
<script type="text/javascript">
    jQuery(document).ready(function(){
        var v = jQuery("#suspendfrm").validate({
            submitHandler: function(form) {
                jQuery(form).ajaxSubmit({
                    target: "#result"
                });		
            }
        });                       
    });
</script>